package com.say.tool;

public class TimeRecorder {
	private long start;
	private long end;
	public TimeRecorder() {
	}
	public void start() {
		start = System.currentTimeMillis();
	}
	public void end() {
		end = System.currentTimeMillis();
	}

	public long getTimeElapse() {
		return end - start;
	}
	public void reset() {
		start = 0;
		end = 0;
	}
}
